package com.qf.market.po;

import java.util.Date;

/**
 * Copyright (C),2015-2022,北京千锋教育
 * FileName: Order
 * Author: Saikasum
 * Date:2022/5/8 12:20
 */
public class Order {
    private int id;
    private String orderNum;
    private String name;
    private String tel;
    private Date orderTime;
    private String totalAmount;
    private String creater;
    private String status;
    private String checker;
    private String opinion;
    private Date checkTime;

    public Order(){}

    public Order(String orderNum, String status, String checker, String opinion, Date checkTime) {
        this.orderNum = orderNum;
        this.status = status;
        this.checker = checker;
        this.opinion = opinion;
        this.checkTime = checkTime;
    }

    public Order(String orderNum, String totalAmount) {
        this.orderNum = orderNum;
        this.totalAmount = totalAmount;
    }
    public Order(String orderNum, String name, String tel, Date orderTime, String totalAmount, String creater, String status) {
        this.orderNum = orderNum;
        this.name = name;
        this.tel = tel;
        this.orderTime = orderTime;
        this.totalAmount = totalAmount;
        this.creater = creater;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderNum='" + orderNum + '\'' +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", orderTime=" + orderTime +
                ", totalAmount='" + totalAmount + '\'' +
                ", creater='" + creater + '\'' +
                ", status='" + status + '\'' +
                ", checker='" + checker + '\'' +
                ", opinion='" + opinion + '\'' +
                ", checkTime=" + checkTime +
                '}';
    }
}
